﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="view.aspx.cs" Inherits="order_view" %>

<%@ Register src="../UserControls/CFooterControl.ascx" tagname="CFooterControl" tagprefix="uc1" %>
<%@ Register src="../UserControls/CHeaderControl.ascx" tagname="CHeaderControl" tagprefix="uc2" %>

<%@ Register src="../UserControls/MyWebside.ascx" tagname="MyWebside" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
<div id="pagemasker">
    
    
    </div><div id="dialog"></div>
<div id="doc">
    <form id="form1" runat="server">
        <uc2:CHeaderControl ID="CHeaderControl1" runat="server" />
    
    <div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="order-detail">
	<div class="dashboard" id="dashboard">
<uc3:MyWebside  ID="MyWebside1" runat="server" />
	</div>
    <div id="content">
		<div class="box clear">
            
            <div class="box-content">
                <div class="head">
                    <h2>订单详情</h2>
                </div>
                <div class="sect">

<table cellspacing="0" cellpadding="0" border="0" class="data-table">
    <tr>
        <th>订单编号：</th>

        <td class="orderid"><strong><%=strOrderID %></strong></td>

        <th>下单时间：</th>

        <td><span><%=strOrderCTime %></span></td>

    </tr>
</table>

<table cellspacing="0" cellpadding="0" border="0" class="info-table">
    <tr>
        <th class="left" width="auto">项目名称</th>
        <th width="35">单价</th>
        <th width="10"></th>
        <th width="45">数量</th>
        <th width="10"></th>
        <th width="45">总价</th>
        <th width="150">状态</th>
    </tr>

    <%if (strTeamID != "0")
      { %>
    <tr>
        <td class="left"><a href="/team.aspx?id=<%=strTeamID %>" target="_blank"><%=strTeamTitle%></a>
        
      
        </td>
        <td><span class="money"><%=strCurrency%></span><%=strPrice%></td>


        <td>x</td>

        <td><%=strQuantity%></td>

        <td>=</td>

        <td class="total"><span class="money"><%=strCurrency%></span><%=strOrigin%></td>
        <td class="status"><%=strState%></td>

    </tr>
    <% }
      else
      {%>

         <% detaillist = detailbll.Searchorderdetail(Convert.ToInt32(strOrderID)); %>
                   <%foreach (Maticsoft.Model.orderdetail model in detaillist)
                     { 
                       
                         %>
                   <tr>
        <td class="left"><a href="/team.aspx?id=<%=model.Teamid%>" target="_blank"><%=GetTeam(model.Teamid.ToString())%></a>
        
      
        </td>
        <td><span class="money"><%=ASSystem.Currency %></span><%=model.Teamprice %></td>


        <td>x</td>

        <td><%=model.Num %></td>

        <td>=</td>

        <td class="total"><span class="money"><%=ASSystem.Currency %></span><%=model.Num*model.Teamprice%></td>
        <td class="status"><%=strState%></td>

    </tr>
                   <% }%>

    <% }%>


<asp:Literal ID="ltCard" runat="server"></asp:Literal>



<asp:Literal ID="ltExpress" runat="server"></asp:Literal>


<asp:Literal ID="ltState" runat="server"></asp:Literal>
    </table>

<asp:Literal ID="ltCoupon" runat="server"></asp:Literal>

<asp:Literal ID="ltExpressInfo" runat="server"></asp:Literal>

<asp:Literal ID="ltPickUp" runat="server"></asp:Literal>



                </div>
            </div>
            
        </div>
    </div>
    <div id="sidebar">
    </div>
</div>

</div> <!-- bd end -->
</div> <!-- bdw end -->


    <uc1:CFooterControl ID="CFooterControl1" runat="server" />
 
    </form>
</div>
</body>
</html>
